package cn.gok.dao;

import cn.gok.bo.MaintainDormitoryBO;
import cn.gok.entity.TMaintainDormitory;
import org.apache.ibatis.annotations.Param;

import java.util.List;

//宿舍报修
public interface MaintainDao {
    int addMaintain(TMaintainDormitory tMaintainDormitory);

    //根据学生的ID和报修的状态获取报修列表
    List<MaintainDormitoryBO> queryInfo(@Param("stuId") int stuId,@Param("state") int state);

}
